package lazy2.tool.beangenerator.gui;

import javax.swing.*;

public class BeanGeneratorGUI {
	private static final String PRODUCT_NAME    = "BeanGeneratorGUI";
	private static final String PRODUCT_VERSION = "1.2";
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {
			e.printStackTrace();
		}
		BGController controller = new BGController(new BGModel(), new BGView());
		
		JFrame frame = new JFrame(PRODUCT_NAME+"-"+PRODUCT_VERSION);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setContentPane(controller.getView());
		frame.pack();
		frame.setVisible(true);
	}
}
